ROTATE SPRITE

This command will rotate the specified sprite.

  Syntax
ROTATE SPRITE Sprite Number, Angle
  Parameters
Sprite Number
Integer
The sprite number
Angle
Float
You can rotate the sprite around 360 degrees specified using the Angle Value using a range of 0 to 359

  Returns

This command does not return a value.

  Description

You can rotate the sprite around 360 degrees specified using the Angle Value using a range of 0 to 359. The sprite number should be specified using an integer value. The angle should be specified using a real number.

  Example Code
load image "manwalking.bmp",1
cls
sprite 1,100,100,1
for t=0 to 359
rotate sprite 1,t
next t
do
loop
end
  See also

SPRITE Commands Menu
Index